/**
 * Author(s): xuming.Wong <xuming.Wong@gmail.com>
 */

#ifndef __TERRAIN_DECAL_H__
#define __TERRAIN_DECAL_H__

#include "NgPrerequisites.h"
#include "OgreTerrainMaterialGeneratorA.h"

namespace PQEngine
{
	class TerrainMaterialGeneratorWithDecal
		: public Ogre::TerrainMaterialGeneratorA
	{
	public:
		TerrainMaterialGeneratorWithDecal(Ogre::Frustum *frustum);
		Ogre::MaterialPtr generate(const Ogre::Terrain* terrain);
	private:
		Ogre::Frustum *_frustum;
	};

	class TerrainDecal
	{
	public:
		static const Ogre::String TERRAIN_DECAL_TEXTURE;
		
	};
}
#endif
